<div class="tms-main-page-function">
    <div class="main-content" style="height:auto">
        <div class="page-function">
            <ul class="wms-wbm-fun-left">
                <button class="layui-btn" ng-click="createPlan()">创建备料计划</button>
                <button class="layui-btn" ng-click="createPlan()">导出</button>
            </ul>
            <div class="wms-wbm-fun-right">
                <input type="text" placeholder="车架号(VIN)-->回车查询" ng-model="search.vin" ng-keydown="searchListKeyDown($event)" class="search-input">
                <button class="layui-btn" ng-click="moreClick()" ng-bind="moreText">更多条件</button>
                <i class="iconfont icon-shuaxin layui-anim layui-anim-loop layui-anim-rotate wms-refresh" ng-click="refreshClick()" refresh></i>
            </div>
        </div>
        <div class="otherForm" ng-show="otherForm" >
            <ul>
                <li>
                    <div class="otherFormItem">
                        <div>订单号</div>
                        <div>
                            <input type="text" class="layui-input" ng-model="search.orderno"/>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>货主</div>
                        <div>
                            <ui-select ng-model="search.customerName">
                                <ui-select-match>
                                    <span>{{$select.selected}}</span>
                                </ui-select-match>
                                <ui-select-choices repeat="item in customerList track by $index">
                                    <span>{{item}}</span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>状态</div>
                        <div>
                            <ui-select ng-model="search.status">
                                <ui-select-match>
                                    <span ng-bind="$select.selected.name"></span>
                                </ui-select-match>
                                <ui-select-choices repeat="openGateStatus in statusList">
                                    <span ng-bind="openGateStatus.name"></span>
                                </ui-select-choices>
                                <ui-select-no-choice>
                                    没有加载到数据
                                </ui-select-no-choice>
                            </ui-select>
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem">
                        <div>创建时间从</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.startTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                    <div class="otherFormItem">
                        <div>至</div>
                        <div>
                            <input type="text" lay-verify="date" placeholder="yyyy-mm-dd" ng-model="search.endTime" ng-click="Tools.modelAssignment($event,this)" autocomplete="off" class="layui-input" onclick="layui.laydate({elem: this,format:'YYYY-MM-DD',choose : angular.element(this).scope().Tools.modelAssignment,scope:angular.element(this).scope()})">
                        </div>
                    </div>
                </li>

                <li>
                    <div class="otherFormItem otherFormItemButton">
                        <button class="layui-btn" ng-click="searchClick()">查询</button>
                        <button class="layui-btn" ng-click="resetClick()">重置</button>
                    </div>
                </li>
            </ul>
        </div>
        <div class="layui-form">
            <table class="layui-table wms_wpp_main_table minScreen serial scooterOffRegistrationTable">
                <tbody>
                <tr>
                    <th>
                        <input type="checkbox" name="" lay-skin="primary" lay-filter="allChoose">
                        <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                            <i class="layui-icon"></i>
                        </div>
                    </th>
                    <th>订单号</th>
                    <th>订单类型</th>
                    <th>货主</th>
                    <th>状态</th>
                    <th>车架号(VIN码)</th>
                    <th>车型</th>
                    <th>车型描述</th>
                    <th>创建时间</th>
                </tr>
                <tr ng-repeat="item in tableList" ng-click="Tools.initTableClick($event)" repeat-finish="" oddid="{{item.oddId}}">
                    <td>
                        <input type="checkbox" name="ckValue" ng-value="$index" lay-skin="primary" />
                        <div class="layui-unselect layui-form-checkbox" lay-skin="primary">
                            <i class="layui-icon"></i>
                        </div>
                    </td>
                    <td ng-bind="item.odOrderno"></td>
                    <!--<td ng-bind="scooterOffRegistration.drOpenStatus | openGateStatusFilter"></td>-->
                    <td>非前置库订单</td>
                    <td ng-bind="item.odCustomerName"></td>
                    <td ng-bind="item.oddStockTransferStatus | wppStatusType"></td>
                    <td ng-bind="item.oddVin"></td>
                    <td ng-bind="item.oddVehicleSpecName"></td>
                    <td ng-bind="item.oddVehicleSpecDesc"></td>
                    <td ng-bind="item.gmtCreate"></td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="admin-table-page" style="text-align: center;">
            <div id="pages" class="page">
            </div>
        </div>
    </div>
</div>